package com.abel.demo.dao;

import com.abel.demo.dao.BaseDao;
import com.abel.demo.model.UserInfoModel;
import com.abel.demo.model.UserInfoModelCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
* @author abel.lin
* @date_time 2018-07-11 18:26
* @description
*/
public interface UserInfoModelDao extends BaseDao<UserInfoModel, UserInfoModelCriteria>{

    int countByExample(UserInfoModelCriteria example);
    
    int deleteByExample(UserInfoModelCriteria example);
    
    int deleteByPrimaryKey(String id);
    
    int insert(UserInfoModel record);
    
    int insertSelective(UserInfoModel record);
    
    List<UserInfoModel> selectByExample(UserInfoModelCriteria example);

    UserInfoModel selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserInfoModel record, @Param("example") UserInfoModelCriteria example);

    int updateByExample(@Param("record") UserInfoModel record, @Param("example") UserInfoModelCriteria example);

    int updateByPrimaryKeySelective(UserInfoModel record);

    int updateByPrimaryKey(UserInfoModel record);
}